package com.dding.cms.base.web.widget;

import java.util.Collections;
import java.util.Map;

public class WidgetContext implements IWidgetContext {

	private Map<String, ? extends Object> map;

	public WidgetContext(Map<String, ? extends Object> map) {
		this.map = map;
	}

	@Override
	public Map<String, Object> getParameters() {
		return Collections.unmodifiableMap(map);
	}
}
